which was broken by the introduction of "pinnable" types
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
/* We remember the first shadow entry that points to each shadow. */
if ( entry_pa != 0
- && sh_type_is_pinnable(v, sp->type)
+ && !sh_type_is_pinnable(v, sp->type)
&& sp->up == 0 )
sp->up = entry_pa;
/* If this is the entry in the up-pointer, remove it */
if ( entry_pa != 0
- && sh_type_is_pinnable(v, sp->type)
+ && !sh_type_is_pinnable(v, sp->type)
&& sp->up == entry_pa )
sp->up = 0;